package routers

import (
	"github.com/astaxie/beego"
	"test/controllers"
)

func init() {
    beego.Router("/", &controllers.MainController{})
	beego.Router("/test", &controllers.TestController{})
	beego.Router("/list",&controllers.TestController{},"*:List")
	beego.Router("/user",&controllers.TestController{},"*:User")
	beego.Router("data/add",&controllers.DataController{},"*:Add")
	beego.Router("data/item",&controllers.DataController{},"*:Item")
	beego.Router("wish/edit",&controllers.WishController{},"*:Edit")
}
